<div class="more-toolbar" ng-click="$event.stopPropagation();" ng-show="showToolbar">
    <div class="title-bar">
        配置表格列
        <i class="yb-icon ico-close-o" ng-click="cancel()"></i>
    </div>
    <div tabset type="sub-tab" class="m-t-sm m-l-sm m-r-sm">
        <div tab heading="显示的列" active="activeFlag[0]">
            <div class="wrap has-head wrapper-y-sm">
                <ul>
                    <li class="m-t-xs m-b-xs" ng-repeat="itemCol in configList track by $index">
                        <div yb-check-box yb-checked="itemCol.isShow" yb-check-name="{{itemCol.name}}" yb-disabled="itemCol.type === 'operate'"></div>
                    </li>
                </ul>
            </div>
        </div>
        <div tab heading="固定的列" active="activeFlag[1]" ng-if="!!colFixed">
            <div class="wrap has-head wrapper-y-sm">
                <ul>
                    <li class="m-t-xs m-b-xs" ng-repeat="itemCol in configList track by $index">
                        <div yb-check-box yb-checked="itemCol.isFixed" yb-check-name="{{itemCol.name}}" yb-disabled="itemCol.type === 'operate'"></div>
                    </li>
                </ul>
            </div>
        </div>
        <div tab heading="调整顺序" active="activeFlag[2]">
            <div class="wrap has-head wrapper-y-sm">
                <ul>
                    <li class="m-t-xs m-b-xs clearfix" ng-repeat="itemCol in configList track by $index" ng-if="itemCol.type !== 'operate'">
                        {{itemCol.name}}
                        <div class="pull-right">
                            <button class="btn btn-operate btn-xs m-r-xs" ng-click="moveIndex($index, 'up')" ng-disabled="$index === 0">上移</button>
                            <button class="btn btn-operate btn-xs m-r-xs" ng-click="moveIndex($index, 'down')" ng-disabled="$index === configList.length - 2">下移</button>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="btn-bar">
        <button class="btn btn-primary m-r-sm" ng-click="setCol('close')">确定并关闭</button>
        <button class="btn btn-primary m-r-sm" ng-click="setCol()">确定</button>
        <button class="btn btn-default" ng-click="cancel()">取消</button>
    </div>
</div>
